<h1>
    Ports
</h1>
<div class='wrap-content'>
    <?php $new_port_url = $this->url(array('action' => 'new-tide-port')); ?>
    <a href='<?php echo $new_port_url ?>'>+ Add New Tide Port</a>
</div>
<form method='post'>
    <input type='submit' value='Delete' class='delete-item-button' />
    <table cellspacing="0" id='tbl_list'>	
        <thead>
            <tr>
                <th>
                    <input type='checkbox' id='master_check'/>	
                </th>
                <th>
                    Port Name
                </th>
                <th>
                    File
                </th>
                <th>
                    Region
                </th>
            </tr>
        </thead>
        <tbody>
            <?php foreach ($this->tide_ports as $tide_port): ?>
                <tr>
                    <td>
                        <input type='checkbox' value='<?php echo $tide_port->id ?>' name='delete_ids[]'/>
                    </td>
                    <td>
                        <a href='<?php echo $this->url(array('action' => 'update-tide-port', 'id' => $tide_port->id)) ?>'>
                            <?php echo $tide_port->name ?>
                        </a>
                    </td>
                    <td>
                        <?php echo $tide_port->file ?>
                    </td>
                    <td>
                        <?php echo $tide_port->region ?>
                    </td>
                </tr>
            <?php endforeach; ?>
        </tbody>
    </table>
</form>